package org.eweb4j.mvc.config.bean;

import org.eweb4j.util.xml.tag.XmlTag;
import org.eweb4j.util.xml.tag.XmlTagType;

/**
 * MVC组件用来存取配置信息的Bean
 * 
 * @author cfuture.aw
 * @since v1.a.0
 */
public class ResultConfigBean {
	@XmlTag(type = XmlTagType.attriType)
	private String name;
	@XmlTag(type = XmlTagType.attriType)
	private String type;
	@XmlTag(type = XmlTagType.attriType)
	private String location;

	@Override
	public String toString() {
		return "ResultConfigBean [name=" + name + ", type=" + type
				+ ", location=" + location + "]";
	}

	// @XmlTag(type = XmlTagType.attriType, value =
	// "org.eweb4j.mvc.config.bean.ResultConfigBean")
	// private String xmlBean;
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String value) {
		this.location = value;
	}
	// public String getXmlBean() {
	// return xmlBean;
	// }
	// public void setXmlBean(String xmlBean) {
	// this.xmlBean = xmlBean;
	// }
}
